package com.clouddot.baipai.model;


import android.content.Context;

import com.clouddot.baipai.contract.IAlaunchActivityContract;
import com.clouddot.baipai.http.BanPaiRetrofitHelper;
import com.clouddot.baipai.http.entity.response.getBanPaiModelResponse;
import com.clouddot.baipai.infrastructure.environment.Env;

import org.wxy.sdk.base.impl.BaseModelImpl;

import rx.Observable;

public class AlaunchActivityModel extends BaseModelImpl implements IAlaunchActivityContract.IModel {
    public AlaunchActivityModel(Context context) {
        super(context);

    }

    @Override
    public Observable<getBanPaiModelResponse> getBanPaiModel(String acttype, String paramname) {
        return BanPaiRetrofitHelper.getInstance(Env.getContent()).getServer().getBanPaiModel(Env.getAppContext().IP, acttype, paramname);
    }
}
